package com.shyfu.dao;

import com.shyfu.entities.User;

import java.util.List;

public interface UserDAO {
    public void addUser(User user);

    public void removeUser(User user);

    public void removeUser(long id);

    public List<User> getAllUsers();

    public User getUser(long id);

    public User getUser(String username);

    public void updateUser(User user);
}
